<?php
namespace app\admin\controller;

class AuthController extends BackendController
{
    protected function _initialize(){
        parent::_initialize();
        if(!$this->check_admin()){
            $this->redirect('admin/Login/login');
        }
    }

}